package com.satyam.smooth.dao.testUtil;

import org.hibernate.Session;

/**
 *
 * @author satyam
 */
public class DaoTestHelper {

    private static final GenericTestHelper INSTANCE = new GenericTestHelper("SmoothInventory");
    
    public static void beginTransaction(){
        INSTANCE.beginTransaction();
    }
    
    public static Session getCurrentSession() {
        return INSTANCE.getCurrentSession();
    }

    public static void commitTransaction() {
        INSTANCE.commitTransaction();
    }

    public static void setRollbackTransaction() {
        INSTANCE.setRollbackTransaction();
    }

}
